﻿using Jinjia.Core.BaseInfrastructure.BaseModel;
using SqlSugar;

namespace Jinjia.Approve.Entity.Entity.JJFlow
{
    ///<summary>
    ///jj_flow_instance
    ///表jj_flow_instance的实体类
    ///</summary>
    public class jj_flow_instance : BaseEntity
    {
        /// <summary>
        /// 流程ID
        /// </summary>
        public int template_id { get; set; }

        /// <summary>
        /// 当前节点ID
        /// </summary>
        public int current_node_id { get; set; }

        /// <summary>
        /// 结束节点ID
        /// </summary>
        public int end_node_id { get; set; }

        /// <summary>
        /// 前端模块唯一键
        /// </summary>
        public string modular_key { get; set; }

        /// <summary>
        /// 状态 0=审核中 10=拒绝 20=通过 30=撤回  99=作废
        /// </summary>
        public string status { get; set; }

        /// <summary>
        /// 发起人
        /// </summary>
        public int start_user { get; set; }

        /// <summary>
        /// 结束人
        /// </summary>
        public int end_user { get; set; }

        /// <summary>
        /// 业务ID
        /// </summary>
        public string biz_order_id { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string remark { get; set; }

        /// <summary>
        /// 操作类型
        /// </summary>
        public int operation_type { get; set; }
        
        [SugarColumn(IsIgnore = true)]
        public new int deleted { get; set; }
    }
}